
package com.chookss.home.entity;

import java.io.Serializable;
import java.util.List;

public class ClockInRulesEntity implements Serializable {

    /**
     * id : 28
     * groupCode : KQ202209080001
     * groupName : 芝士雪豹01
     * flowCode :
     * ruleCode :
     * startTime : 2022-03-03
     * endTime : 2023-03-03
     * isUnlimited : 1
     * companyCode : COM202206080001
     * groupDetail : 分组详情
     * createUser :
     * createTime :
     * updateUser :
     * updateTime :
     * signInAddress :
     * itemStatus :
     * employees :
     * kaoqinRules : [{"id":1,"ruleCode":"RULE202209070001","ruleName":"测试01","startTime":"09:00","endTime":"18:00","ruleStatus":"1","ruleData":"12","ruleType":"1","createTime":"","createUser":"","updateTime":"","updateUser":"","companyCode":"COM202206080001","kqStartTime":"01","kqEndTime":"31","defaultCd":"1"},{"id":2,"ruleCode":"RULE202209070001","ruleName":"测试01","startTime":"09:00","endTime":"18:00","ruleStatus":"1","ruleData":"15","ruleType":"2","createTime":"","createUser":"","updateTime":"","updateUser":"","companyCode":"COM202206080001","kqStartTime":"01","kqEndTime":"31","defaultCd":"1"},{"id":3,"ruleCode":"RULE202209070001","ruleName":"测试01","startTime":"09:00","endTime":"18:00","ruleStatus":"1","ruleData":"2","ruleType":"3","createTime":"","createUser":"","updateTime":"","updateUser":"","companyCode":"COM202206080001","kqStartTime":"01","kqEndTime":"31","defaultCd":"1"},{"id":4,"ruleCode":"RULE202209070001","ruleName":"测试01","startTime":"09:00","endTime":"18:00","ruleStatus":"1","ruleData":"1","ruleType":"4","createTime":"","createUser":"","updateTime":"","updateUser":"","companyCode":"COM202206080001","kqStartTime":"01","kqEndTime":"31","defaultCd":"1"},{"id":5,"ruleCode":"RULE202209070001","ruleName":"测试01","startTime":"09:00","endTime":"18:00","ruleStatus":"1","ruleData":"12","ruleType":"5","createTime":"","createUser":"","updateTime":"","updateUser":"","companyCode":"COM202206080001","kqStartTime":"01","kqEndTime":"31","defaultCd":"1"},{"id":6,"ruleCode":"RULE202209070001","ruleName":"测试01","startTime":"09:00","endTime":"18:00","ruleStatus":"1","ruleData":"2","ruleType":"6","createTime":"","createUser":"","updateTime":"","updateUser":"","companyCode":"COM202206080001","kqStartTime":"01","kqEndTime":"31","defaultCd":"1"},{"id":7,"ruleCode":"RULE202209080003","ruleName":"海豹测试01","startTime":"09:00","endTime":"18:00","ruleStatus":"1","ruleData":"12","ruleType":"1","createTime":"","createUser":"郎同学","updateTime":"","updateUser":"","companyCode":"COM202206080001","kqStartTime":"01","kqEndTime":"31","defaultCd":"0"},{"id":8,"ruleCode":"RULE202209080003","ruleName":"海豹测试01","startTime":"09:00","endTime":"18:00","ruleStatus":"1","ruleData":"15","ruleType":"2","createTime":"","createUser":"郎同学","updateTime":"","updateUser":"","companyCode":"COM202206080001","kqStartTime":"01","kqEndTime":"31","defaultCd":"0"},{"id":9,"ruleCode":"RULE202209080003","ruleName":"海豹测试01","startTime":"09:00","endTime":"18:00","ruleStatus":"1","ruleData":"2","ruleType":"3","createTime":"","createUser":"郎同学","updateTime":"","updateUser":"","companyCode":"COM202206080001","kqStartTime":"01","kqEndTime":"31","defaultCd":"0"},{"id":10,"ruleCode":"RULE202209080003","ruleName":"海豹测试01","startTime":"09:00","endTime":"18:00","ruleStatus":"1","ruleData":"1","ruleType":"4","createTime":"","createUser":"郎同学","updateTime":"","updateUser":"","companyCode":"COM202206080001","kqStartTime":"01","kqEndTime":"31","defaultCd":"0"},{"id":11,"ruleCode":"RULE202209080003","ruleName":"海豹测试01","startTime":"09:00","endTime":"18:00","ruleStatus":"1","ruleData":"12","ruleType":"5","createTime":"","createUser":"郎同学","updateTime":"","updateUser":"","companyCode":"COM202206080001","kqStartTime":"01","kqEndTime":"31","defaultCd":"0"},{"id":12,"ruleCode":"RULE202209080003","ruleName":"海豹测试01","startTime":"09:00","endTime":"18:00","ruleStatus":"1","ruleData":"2","ruleType":"6","createTime":"","createUser":"郎同学","updateTime":"","updateUser":"","companyCode":"COM202206080001","kqStartTime":"01","kqEndTime":"31","defaultCd":"0"}]
     */

    private int id;
    private String groupCode;
    private String groupName;
    private String flowCode;
    private String ruleCode;
    private String startTime;
    private String endTime;
    private String isUnlimited;
    private String companyCode;
    private String groupDetail;
    private String createUser;
    private String createTime;
    private String updateUser;
    private String updateTime;
    private String signInAddress;
    private String itemStatus;
    private String employees;

    public String getAddressName() {
        return addressName;
    }

    public void setAddressName(String addressName) {
        this.addressName = addressName;
    }

    private String addressName;
    private List<KaoqinRulesBean> kaoqinRules;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getGroupCode() {
        return groupCode;
    }

    public void setGroupCode(String groupCode) {
        this.groupCode = groupCode;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getFlowCode() {
        return flowCode;
    }

    public void setFlowCode(String flowCode) {
        this.flowCode = flowCode;
    }

    public String getRuleCode() {
        return ruleCode;
    }

    public void setRuleCode(String ruleCode) {
        this.ruleCode = ruleCode;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getIsUnlimited() {
        return isUnlimited;
    }

    public void setIsUnlimited(String isUnlimited) {
        this.isUnlimited = isUnlimited;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getGroupDetail() {
        return groupDetail;
    }

    public void setGroupDetail(String groupDetail) {
        this.groupDetail = groupDetail;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getSignInAddress() {
        return signInAddress;
    }

    public void setSignInAddress(String signInAddress) {
        this.signInAddress = signInAddress;
    }

    public String getItemStatus() {
        return itemStatus;
    }

    public void setItemStatus(String itemStatus) {
        this.itemStatus = itemStatus;
    }

    public String getEmployees() {
        return employees;
    }

    public void setEmployees(String employees) {
        this.employees = employees;
    }

    public List<KaoqinRulesBean> getKaoqinRules() {
        return kaoqinRules;
    }

    public void setKaoqinRules(List<KaoqinRulesBean> kaoqinRules) {
        this.kaoqinRules = kaoqinRules;
    }

    public static class KaoqinRulesBean {
        /**
         * id : 1
         * ruleCode : RULE202209070001
         * ruleName : 测试01
         * startTime : 09:00
         * endTime : 18:00
         * ruleStatus : 1
         * ruleData : 12
         * ruleType : 1
         * createTime :
         * createUser :
         * updateTime :
         * updateUser :
         * companyCode : COM202206080001
         * kqStartTime : 01
         * kqEndTime : 31
         * defaultCd : 1
         */

        private String id;
        private String ruleCode;
        private String ruleName;
        private String startTime;
        private String endTime;
        private String ruleStatus;
        private String ruleData;
        private String ruleType;//'规则类型1:迟到,2:旷工,3:早退,4:外勤,5:补卡次数,6:延迟',
        private String createTime;
        private String createUser;
        private String updateTime;
        private String updateUser;
        private String companyCode;
        private String kqStartTime;
        private String kqEndTime;
        private String defaultCd;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getRuleCode() {
            return ruleCode;
        }

        public void setRuleCode(String ruleCode) {
            this.ruleCode = ruleCode;
        }

        public String getRuleName() {
            return ruleName;
        }

        public void setRuleName(String ruleName) {
            this.ruleName = ruleName;
        }

        public String getStartTime() {
            return startTime;
        }

        public void setStartTime(String startTime) {
            this.startTime = startTime;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public String getRuleStatus() {
            return ruleStatus;
        }

        public void setRuleStatus(String ruleStatus) {
            this.ruleStatus = ruleStatus;
        }

        public String getRuleData() {
            return ruleData;
        }

        public void setRuleData(String ruleData) {
            this.ruleData = ruleData;
        }

        public String getRuleType() {
            return ruleType;
        }

        public void setRuleType(String ruleType) {
            this.ruleType = ruleType;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getCreateUser() {
            return createUser;
        }

        public void setCreateUser(String createUser) {
            this.createUser = createUser;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getUpdateUser() {
            return updateUser;
        }

        public void setUpdateUser(String updateUser) {
            this.updateUser = updateUser;
        }

        public String getCompanyCode() {
            return companyCode;
        }

        public void setCompanyCode(String companyCode) {
            this.companyCode = companyCode;
        }

        public String getKqStartTime() {
            return kqStartTime;
        }

        public void setKqStartTime(String kqStartTime) {
            this.kqStartTime = kqStartTime;
        }

        public String getKqEndTime() {
            return kqEndTime;
        }

        public void setKqEndTime(String kqEndTime) {
            this.kqEndTime = kqEndTime;
        }

        public String getDefaultCd() {
            return defaultCd;
        }

        public void setDefaultCd(String defaultCd) {
            this.defaultCd = defaultCd;
        }
    }
}
